/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package az.ac.cput.wo.crp.obey.model;

/**
 *
 * @author guantong
 */
public class PartTime extends Employee {
    private int empNo;

    public int getEmpNo() {
        return empNo;
    }

    public void setEmpNo(int no) {
        this.empNo = no;
    }
    public PartTime(String aName, int no){
        super(aName);
        setEmpNo(no);
    }
    @Override
    public String toString(){
        return String.format("%s: \n%s \n", super.toString(), getEmpNo());
    }
}
